CUE Sheet Library
Library (.dll) for use in Win32 (9x/ME/2K/XP/Vista/7), Win64 and OSX software.
Makes it easy to read & write CUE sheet files.
Full CUE sheet specification is supported.
ANSI and unicode version included.
The ANSI version reads and writes only ANSI CUE sheet files, the unicode version reads and writes ANSI and unicode CUE sheet files also.
Requirements: any dev. environment that supports the stdcall calling convention.
Usage
Uses CUELibraryDefs;
CUEData := CUE_Create;
CUE_Load(CUEData, FileName);
//* Do whatever you want here...
CUE_AddTrackData(...);
CUE_Save(CUEData, FileName);
CUE_Free(CUEData);
Functions
- CUE_Create = function: Pointer; stdcall;
- CUE_Free = function (CUEData: Pointer): Bool; stdcall;
- CUE_Load = function (CUEData: Pointer; FileName: PChar): Bool; stdcall;
- CUE_Save = function (CUEData: Pointer; FileName: PChar): Bool; stdcall;
- CUE_Clear = function (CUEData: Pointer): Bool; stdcall;
- CUE_GetSectionCount = function (CUEData: Pointer): Integer; stdcall;
- CUE_GetTrackCount = function (CUEData: Pointer; Section: Integer): Integer; stdcall;
- CUE_GetIndexCount = function (CUEData: Pointer; Section, Track: Integer): Integer; stdcall;
- CUE_GetIndexIndexCount = function (CUEData: Pointer; Section, Track, Index: Integer): Integer; stdcall;
- CUE_GetInfo = function (CUEData: Pointer; var Info: TCUEAlbumInfo): Bool; stdcall;
- CUE_SetInfo = function (CUEData: Pointer; Info: TCUEAlbumInfo): Bool; stdcall;
- CUE_GetSectionData = function (CUEData: Pointer; Section: Integer; var Data: TCUESectionData): Bool; stdcall;
- CUE_GetTrackData = function (CUEData: Pointer; Section, Track: Integer; var Data: TCUETrackData): Bool; stdcall;
- CUE_GetIndexData = function (CUEData: Pointer; Section, Track, Index: Integer; var Data: TCUETrackIndexData): Bool; stdcall;
- CUE_GetIndex = function (CUEData: Pointer; Section, Track, Index, IndexNo: Integer; var SeekPos: Integer): Bool; stdcall;
- CUE_AddSection = function (CUEData: Pointer; Data: TCUESectionData): Bool; stdcall;
- CUE_AddTrack = function (CUEData: Pointer; Section: Integer; Data: TCUETrackData): Bool; stdcall;
- CUE_AddIndex = function (CUEData: Pointer; Section, Track: Integer; Data: TCUETrackIndexData): Bool; stdcall;
- CUE_AddIndexIndex = function (CUEData: Pointer; Section, Track, Index: Integer; SeekPos: Integer): Bool; stdcall;
- CUE_AddREMLine = function (CUEData: Pointer; REMLine: PChar): Bool; stdcall;
- CUE_GetREMLine = function (CUEData: Pointer; Line: Integer; var REMLine: PChar): Bool; stdcall;
- CUE_SetSaveMode = function (CUEData: Pointer; SaveMode: TCUESaveMode): Bool; stdcall;
- CUE_GetSaveMode = function (CUEData: Pointer; var SaveMode: TCUESaveMode): Bool; stdcall;
- CUE_SetSectionData = function (CUEData: Pointer; Section: Integer; Data: TCUESectionData): Bool; stdcall;
- CUE_SetTrackData = function (CUEData: Pointer; Section, Track: Integer; Data: TCUETrackData): Bool; stdcall;
- CUE_SetIndexData = function (CUEData: Pointer; Section, Track, Index: Integer; Data: TCUETrackIndexData): Bool; stdcall;
- CUE_SetIndexIndexData = function (CUEData: Pointer; Section, Track, Index, IndexNo: Integer; SeekPos: Integer): Bool; stdcall;
CUE Library in shareware and commercial software?
The component is free for use in free software. If you like it and use it in a shareware or commercial software you have to buy a license.
Useful information
|